package com.study.talk.netty.message.request;

import com.study.talk.netty.message.MessageType;
import com.study.talk.netty.message.TalkMessage;

/**
 * 添加请求
 */
public class AddUserRequest extends TalkMessage {

    //("本人id")
    private Integer userId;

    //("添加好友id")
    private Integer addUserId;

    @Override
    public byte getType() {
        return MessageType.ADD_USER_REQUEST;
    }


    public AddUserRequest(Integer userId, Integer addUserId) {
        this.userId = userId;
        this.addUserId = addUserId;
    }

    public AddUserRequest() {
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(Integer addUserId) {
        this.addUserId = addUserId;
    }
}
